// import React from 'react'
import ReactDOM from 'react-dom/client'

//样式初始化一般放在最前面
import "reset-css"

//UI框架的样式

//全局样式
import "@/assets/styles/global.scss"

import {BrowserRouter} from 'react-router-dom'

import App from './App.tsx'

import {Provider} from "react-redux"
import store from "@/store"

ReactDOM.createRoot(document.getElementById('root')!).render(
  <Provider store={store}>
    {/* <React.StrictMode>  //开发环境下组件都会加载两次 */}
      <BrowserRouter>
        <App />
      </BrowserRouter>
  {/* </React.StrictMode> */}
  </Provider>
)
